package com.zhijiang.hospital.service.impl;

import com.zhijiang.hospital.entrty.MeetingCheckRecode;
import com.zhijiang.hospital.entrty.SMeetingcheckrecode;
import com.zhijiang.hospital.mapper.MeetingCheckRecodeMapper;
import com.zhijiang.hospital.service.MeetingCheckRecodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.text.SimpleDateFormat;
import java.util.List;

@Service
public class MeetingCheckRecodeServiceImpl implements MeetingCheckRecodeService {
    @Autowired
    MeetingCheckRecodeMapper meetingCheckRecodeMapper;

    @Override

    public List<SMeetingcheckrecode> findSignEmployee(String mCode) {

        
        List<SMeetingcheckrecode> signAll =  meetingCheckRecodeMapper.get(mCode);


        return signAll;
    }

    @Override
    public Integer delete(String mCode, String iphone) {
        String code = "4";

      return   meetingCheckRecodeMapper.delete(mCode,iphone,code);
    }
}
